package com.sdy.healthcode.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdy.common.model.BizException;
import com.sdy.healthcode.biz.dto.DoctorManDTO;
import com.sdy.healthcode.biz.dto.DoctorManagerDTO;
import com.sdy.healthcode.biz.model.ExpertsInformation;
import com.sdy.mvc.service.BaseService;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 * 专家简介、照片统计表 服务类
 * </p>
 *
 * @author zzq
 * @since 2020-03-04
 */
public interface ExpertsInformationService extends BaseService<ExpertsInformation> {


    /**
     *医生管理 删除功能
     */
    Integer deldteByDocId(Integer id);

    /**
     * 医生管理 修改功能
     */
    void updateDocMess(ExpertsInformation expertsInformation) throws BizException;

    /**
     * 医生管理 新增
     */
    Boolean saveDoctorMess(ExpertsInformation expertsInformation) throws BizException;

    /**
     * 根据筛选条件获取医生列表数据
     */
    List<DoctorManDTO> queryParmDoc(String name, Integer suspendService, Page page);

    /**
     * 医生分页查询
     */
    IPage<DoctorManagerDTO.Doctor> pageDoctorManage(Page<DoctorManagerDTO.Doctor> page, Map<String, Object> map);

    /**
     * 批量设置医生状态
     */
    void batchDoctorSettingState(Map<Integer, Set<Integer>> batchStateSettings);
}
